package com.zoe.onelink.dubbo.provider;

import com.zoe.onelink.common.enumeration.ExceptionCode;
import com.zoe.onelink.core.util.LocaleResolverUtil;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2022</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2022-04-21
 */
public class DefaultDubboI18nMessageProvider implements DubboI18nMessageProvider {
    @Override
    public String getMessage(ExceptionCode exceptionCode, Object[] params) {
        return LocaleResolverUtil.getMessage(exceptionCode, params);
    }
}
